#pragma once

#include <stdlib.h>

class CardDealer
{
private:
	int* cardsLeft, currentDeckSize, deckSize;
public:
	~CardDealer()		{release();}
	void Init(int);
	int dealCard();
	void reShuffle()	{release();	Init(deckSize);}
	void release()		{delete[]cardsLeft;}
};